﻿using System;
using System.Threading;
//using MainWindow;
using OmronLib;
//using System.Collections.Generic;
//using System.Collections.ObjectModel;
//using System.Data;
//using System.Linq;
using System.Net;
//using System.Text;
//using System.Threading;
//using System.Timers;
using System.Windows;
//using System.Windows.Controls;
//using System.Windows.Data;
//using System.Windows.Documents;
//using System.Windows.Input;
using System.Windows.Media;
//using System.Windows.Media.Imaging;
//using System.Windows.Navigation;
//using System.Windows.Shapes;
using System.Collections;
//using System.Runtime.InteropServices;
//using System.Threading.Tasks;
using System.IO;
//using System.Threading.Tasks;
namespace OmronHelper
{
    internal class Program
    {
        private readonly OmronLib.Omron omron = new OmronLib.Omron();
        internal void Method1()
        {
            //throw new NotImplementedException();
            while (true)
            {
                Console.WriteLine(DateTime.Now.ToString() + "_" + Thread.CurrentThread.ManagedThreadId.ToString());
                Thread.CurrentThread.Join(2000);//阻止设定时间,每隔一秒执行一次
                                                //MainWindow.ReadBtn_Click(null, null);








            }
        }
    }
}